

package cn.shengchao.examstar.distribute.acl.ports.repositories;

import cn.shengchao.examstar.rpc.distribute.req.DistributorQueryPage;
import cn.shengchao.examstar.rpc.distribute.req.DistributorStudentQueryPage;
import cn.shengchao.examstar.rpc.distribute.resp.DistributorRespEntity;
import cn.shengchao.examstar.rpc.distribute.resp.DistributorStudentEntity;
import cn.shengchao.examstar.rpc.member.req.MemberQueryPage;
import cn.shengchao.examstar.rpc.member.res.MemberList;

import java.util.List;

public interface IDistributeRepository {
    /**
     * 加盟网校
     */
    List<DistributorRespEntity> queryDistributorPageResult(DistributorQueryPage pageQuery);

    /**
     * 加盟网校下的学员
     */
    List<DistributorStudentEntity> queryDistributorStudentPageResult(DistributorStudentQueryPage pageQuery, List<Long> list);

    /**
     * 获取会员
     */
    List<MemberList> getMemberList(MemberQueryPage memberQueryPage);
}
